package controller.site;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import controller.ServletBase;

public class Base extends ServletBase {
    private static final long serialVersionUID = 1L;

    public Base() {
        super();
    }

    protected boolean doInit(HttpServletRequest request,
            HttpServletResponse response) {
        super.doInit(request, response);
        view.display("common/head.jsp");
        request.setAttribute("title", "登陆");
        return true;
    }
    protected boolean doEnd(HttpServletRequest request,
            HttpServletResponse response) {
        view.display("common/foot.jsp");
        return true;
    }
}
